package com.foreverwin.mes.meapi.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;
import com.foreverwin.mes.meapi.model.BomComponent;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-07
 */
public interface BomComponentService extends IService<BomComponent> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<BomComponent> selectPage(FrontPage<BomComponent> frontPage, BomComponent bomComponent);

    List<BomComponent> selectList(BomComponent bomComponent);

    List<BomComponent> selectBomComponentByOperation(Wrapper<BomComponent> wrapper, String operationBo);

    List<BomComponent> listByBomBo(String bomBo);
}